package com.fzh.Zhanye.model;



public class Resources extends BaseModel{
	private String resId;
	private String resName;
	private String resPath;
	private String resType;
	public String getResId() {
		return resId;
	}
	public void setResId(String resId) {
		this.resId = resId;
	}
	public String getResName() {
		return resName;
	}
	public void setResName(String resName) {
		this.resName = resName;
	}
	public String getResPath() {
		return resPath;
	}
	public void setResPath(String resPath) {
		this.resPath = resPath;
	}
	public String getResType() {
		return resType;
	}
	public void setResType(String resType) {
		this.resType = resType;
	}
	@Override
	public String toString() {
		return "Resources [resId=" + resId + ", resName=" + resName + ", resPath=" + resPath + ", resType=" + resType
				+ "]";
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = super.hashCode();
		result = prime * result + ((resId == null) ? 0 : resId.hashCode());
		result = prime * result + ((resName == null) ? 0 : resName.hashCode());
		result = prime * result + ((resPath == null) ? 0 : resPath.hashCode());
		result = prime * result + ((resType == null) ? 0 : resType.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (!super.equals(obj))
			return false;
		if (getClass() != obj.getClass())
			return false;
		Resources other = (Resources) obj;
		if (resId == null) {
			if (other.resId != null)
				return false;
		} else if (!resId.equals(other.resId))
			return false;
		if (resName == null) {
			if (other.resName != null)
				return false;
		} else if (!resName.equals(other.resName))
			return false;
		if (resPath == null) {
			if (other.resPath != null)
				return false;
		} else if (!resPath.equals(other.resPath))
			return false;
		if (resType == null) {
			if (other.resType != null)
				return false;
		} else if (!resType.equals(other.resType))
			return false;
		return true;
	}
	public Resources(String creator, java.util.Date createTime, String updator, java.util.Date updateTime,
			String remark, String resId, String resName, String resPath, String resType) {
		super(creator, createTime, updator, updateTime, remark);
		this.resId = resId;
		this.resName = resName;
		this.resPath = resPath;
		this.resType = resType;
	}
	public Resources() {
		super();
		// TODO Auto-generated constructor stub
	}
	public Resources(String creator, java.util.Date createTime, String updator, java.util.Date updateTime,
			String remark) {
		super(creator, createTime, updator, updateTime, remark);
		// TODO Auto-generated constructor stub
	}
	
}
